﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WebComTest.WebUI.Models
{
    public class UseCase
    {
        [Key]
        public int Id { get; set; }

        public string JiraId { get; set; }
        public string JiraName { get; set; }

        public string Link { get { return string.Concat("https://jira.registeredsite.com/browse/", this.JiraId); } }
        
        public string Observations { get; set; }

        public int AppId { get; set; }
        public virtual App App { get; set; }

        //public ICollection<TestCase> TestCases { get; set; }
    }
}